package com.bruce.pattern.behavioral.mediator;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by bruce on 2018/11/11 15:15
 */
@Setter
@Getter
public class User {

    private String name;

    public User(String name) {
        this.name = name;
    }

    public void sendMessage(String message){
        StudyGroup.showMessage(this, message);
    }



}
